package org.dromara.hm.enums;

/**
 *  库存变更类型
 * @Author If404 Hzy
 * @Date 2025-2025/1/17-01:09
 * @Version 1.0
 */
public enum StockChangeTypeEnum
{
    PICK_UP(1, "提货"),
    DEL_ORDER(2, "订单删除回填入库"),
    ADD(3, "修改增加入库"),
    OUTBOUND(4, "出库"),
    SELF_ADDED_RECEIPT(5, "自增入库"),
    INBOUND(6, "跨店入库"),
    EMPLOYEE_BENEFITS(7, "员工福利"),
    CUSTOMER_GIFTS(8, "客户赠品"),
    REDUCE(9, "修改减少库存"),
    PICK_UP_VOID(10, "提货作废入库"),
    FRINGE_MARKET(11, "外围市场出库"),
    RETURN_RECEIPT(12, "退货入库"),
    SUPPLEMENTARY_OUTBOUND(13,"补充提货出库"),
    SUPPLEMENTARY_PICKUP_VOID(14, "补充提货作废入库")
    ;

    private final int code;

    private final String description;

    StockChangeTypeEnum(int code, String description)
    {
        this.code = code;
        this.description = description;
    }

    public String getCode()
    {
        return code + "";
    }

    public String getDescription()
    {
        return description;
    }
}
